//
//  MCCameraDefault.h
//  CreditGroup
//
//  Created by ltl on 15/9/11.
//  Copyright (c) 2015年 JPlay. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "MCCameraSourceManager.h"

typedef void(^EMCCameraDefaultReturnImageBlock)(UIImage *image);
typedef void(^EMCCameraDefaultReturnImageDataBlock)(NSData *imageData);

typedef void(^EMCCameraEventTypeBlock)(EActionSheetEventType eventType);


@interface MCCameraDefault : NSObject

@property (strong, nonatomic) EMCCameraDefaultReturnImageBlock cameraDefaultReturnImageBlock;
@property (strong, nonatomic) EMCCameraDefaultReturnImageDataBlock cameraDefaultReturnImageDataBlock;

@property (strong, nonatomic) EMCCameraEventTypeBlock eventBlock;
@property (assign, nonatomic) EMCCameraIsHaveFrame isHaveFrame;   //取景框
@property (assign, nonatomic) EMCCameraIsClip isClip;             // 是否裁剪

@property (assign, nonatomic) EMCImageRotationType rotation;      // UIImage Rotate
@property (assign, nonatomic) CGSize size;                        // UIImage 压缩尺寸
@property (assign, nonatomic) EMCImageFormat format;              // 图片格式
@property (assign, nonatomic) CGFloat quality; 
@property (assign, nonatomic) EMCImageType type;
@end
